cnb\admin\settings\CnbSettingsController B

Total Complexity 84
Dependencies 9
Dependents 4
Total lines 369
Lines of code 226
Logical lines of code 137
Comment lines 88
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
validate_options()
C
37 26 68
post_option_cnb()
A
58 18 12
parseApiAndOttHeader()
A
47 10 36
get_api_key_from_ott()
S
52 7 24
update_user_email_opt_in()
S
62 5 12
disallow_active_without_phone_number()
S
64 5 8
is_version_upgrade()
S
65 4 9
getApiKey()
S
60 3 14
getStatus()
S
77 3 3
get_defaults()
S
52 1 27
update_version()
S
82 1 3
set_changelog_version()
S
65 1 10